package cn.edu.scau.cmi.liujiaming.chapter05;

public class A {
	void speak() {
		System.out.println("我是A类");
	}

}

class B extends A{
	@Override
	void speak() {
		System.out.println("我是B类");
	}
	void method() {
		super.speak();
	}
}

class C extends B{
	@Override
	public void speak() {
		super.method();
		
	}
}